import constant from '../../../constant';
import { post } from '../../request';

export default {
    list: () => post(constant.API.SYSTEM.DEPT.LIST),
    add: (dept) => post(constant.API.SYSTEM.DEPT.ADD, dept),
    update: (dept) => post(constant.API.SYSTEM.DEPT.UPDATE, dept),
    delete: (dept) => post(constant.API.SYSTEM.DEPT.DELETE, dept),
    order: (deptList) => post(constant.API.SYSTEM.DEPT.ORDER, deptList)
}
